package com.crud.project.service;

import com.crud.project.dao.ILoginDao;
import com.crud.project.po.LoginUser;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class LoginService {

    @Resource
    private ILoginDao iLoginDao;

    public LoginUser checkedLogin(LoginUser loginUser){
        LoginUser user=iLoginDao.checkedLogin(loginUser);
        return user;
    }
}
